function bool = isbeginwith(o, varargin)
% Mordecai Lee, 2012-03-10, Sat, 10:39:56

bool = any(cellfun(@(substr) isBeginWith(o.x, substr), varargin));

function bool = isBeginWith(x, substr)
slen = length(substr);
if length(x) < slen
    bool = false;
    return;
end

bool = strcmpi(x(1 : slen), substr);
